package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type AlibabaSscSupplyplatformServiceworkerQuitservicestoreRequest struct {
	/*
	   工人退出网点model     */
	WorkerQuitServiceStoreForTopReqDto *domain.AlibabaSscSupplyplatformServiceworkerQuitservicestoreWorkerQuitServiceStoreForTopReqDTO `json:"worker_quit_service_store_for_top_req_dto" required:"true" `
}

func (s *AlibabaSscSupplyplatformServiceworkerQuitservicestoreRequest) SetWorkerQuitServiceStoreForTopReqDto(v domain.AlibabaSscSupplyplatformServiceworkerQuitservicestoreWorkerQuitServiceStoreForTopReqDTO) *AlibabaSscSupplyplatformServiceworkerQuitservicestoreRequest {
	s.WorkerQuitServiceStoreForTopReqDto = &v
	return s
}

func (req *AlibabaSscSupplyplatformServiceworkerQuitservicestoreRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.WorkerQuitServiceStoreForTopReqDto != nil {
		paramMap["worker_quit_service_store_for_top_req_dto"] = util.ConvertStruct(*req.WorkerQuitServiceStoreForTopReqDto)
	}
	return paramMap
}

func (req *AlibabaSscSupplyplatformServiceworkerQuitservicestoreRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
